/*
 * Created by JFormDesigner on Fri May 24 10:11:09 CST 2024
 */

package sy7_2;

import java.awt.*;
import javax.swing.*;
import javax.swing.table.*;

/**
 * @author ASUS
 */
public class studentscore extends JFrame {
    public studentscore() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents  @formatter:off
        // Generated using JFormDesigner Open Source Project license - 淘宝星河飘雪
        panel1 = new JPanel();
        tabbedPane1 = new JTabbedPane();
        panel2 = new JPanel();
        label1 = new JLabel();
        textField1 = new JTextField();
        label2 = new JLabel();
        textField2 = new JTextField();
        label3 = new JLabel();
        textField3 = new JTextField();
        textField4 = new JTextField();
        label4 = new JLabel();
        label5 = new JLabel();
        textField5 = new JTextField();
        button1 = new JButton();
        panel3 = new JPanel();
        scrollPane1 = new JScrollPane();
        table1 = new JTable();
        panel4 = new JPanel();
        label6 = new JLabel();
        textField6 = new JTextField();
        separator1 = new JSeparator();
        label7 = new JLabel();
        label8 = new JLabel();
        label9 = new JLabel();
        textField7 = new JTextField();
        textField8 = new JTextField();
        label10 = new JLabel();
        label11 = new JLabel();
        textField9 = new JTextField();
        textField10 = new JTextField();
        textField11 = new JTextField();
        panel5 = new JPanel();
        label12 = new JLabel();
        label13 = new JLabel();
        label14 = new JLabel();
        textField12 = new JTextField();
        textField13 = new JTextField();
        textField14 = new JTextField();
        label15 = new JLabel();
        label16 = new JLabel();
        textField15 = new JTextField();
        textField16 = new JTextField();
        button2 = new JButton();

        //======== this ========
        setTitle("\u5b66\u751f\u6210\u7ee9\u7ba1\u7406");
        var contentPane = getContentPane();
        contentPane.setLayout(null);

        //======== panel1 ========
        {
            panel1.setLayout(null);

            {
                // compute preferred size
                Dimension preferredSize = new Dimension();
                for(int i = 0; i < panel1.getComponentCount(); i++) {
                    Rectangle bounds = panel1.getComponent(i).getBounds();
                    preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                    preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                }
                Insets insets = panel1.getInsets();
                preferredSize.width += insets.right;
                preferredSize.height += insets.bottom;
                panel1.setMinimumSize(preferredSize);
                panel1.setPreferredSize(preferredSize);
            }
        }
        contentPane.add(panel1);
        panel1.setBounds(new Rectangle(new Point(50, 0), panel1.getPreferredSize()));

        //======== tabbedPane1 ========
        {

            //======== panel2 ========
            {
                panel2.setLayout(null);

                //---- label1 ----
                label1.setText("\u5b66\u53f7\uff1a");
                panel2.add(label1);
                label1.setBounds(25, 10, 50, 30);

                //---- textField1 ----
                textField1.setText("001");
                panel2.add(textField1);
                textField1.setBounds(95, 10, 155, 30);

                //---- label2 ----
                label2.setText("\u59d3\u540d\uff1a");
                panel2.add(label2);
                label2.setBounds(325, 10, 45, 30);

                //---- textField2 ----
                textField2.setText("\u5f20\u4e09");
                panel2.add(textField2);
                textField2.setBounds(395, 10, 155, 30);

                //---- label3 ----
                label3.setText("\u6570\u5b66\u6210\u7ee9\uff1a");
                panel2.add(label3);
                label3.setBounds(25, 55, 70, 30);

                //---- textField3 ----
                textField3.setText("90");
                panel2.add(textField3);
                textField3.setBounds(95, 55, 155, 30);

                //---- textField4 ----
                textField4.setText("90");
                panel2.add(textField4);
                textField4.setBounds(395, 55, 155, 30);

                //---- label4 ----
                label4.setText("\u7269\u7406\u6210\u7ee9\uff1a");
                panel2.add(label4);
                label4.setBounds(325, 50, 70, 30);

                //---- label5 ----
                label5.setText("\u82f1\u8bed\u6210\u7ee9\uff1a");
                panel2.add(label5);
                label5.setBounds(25, 105, 70, 30);

                //---- textField5 ----
                textField5.setText("90");
                panel2.add(textField5);
                textField5.setBounds(95, 110, 155, 30);

                //---- button1 ----
                button1.setText("\u4fdd\u5b58");
                panel2.add(button1);
                button1.setBounds(400, 115, 95, 35);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel2.getComponentCount(); i++) {
                        Rectangle bounds = panel2.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel2.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel2.setMinimumSize(preferredSize);
                    panel2.setPreferredSize(preferredSize);
                }
            }
            tabbedPane1.addTab("\u5f55\u5165\u8bb0\u5f55", panel2);

            //======== panel3 ========
            {
                panel3.setLayout(null);

                //======== scrollPane1 ========
                {

                    //---- table1 ----
                    table1.setModel(new DefaultTableModel(
                        new Object[][] {
                            {"003", "\u5f20\u4e09", "10.0", "45.6", "23.0"},
                            {"007", "\u738b\u4e3a", "0.0", "55.78", "5.67"},
                            {"008", "\u738b\u4e94", "5.6", "7.8", "9,0"},
                        },
                        new String[] {
                            "\u5b66\u53f7", "\u59d3\u540d", "\u6570\u5b66\u6210\u7ee9", "\u7269\u7406\u6210\u7ee9", "\u82f1\u8bed\u6210\u7ee9"
                        }
                    ));
                    scrollPane1.setViewportView(table1);
                }
                panel3.add(scrollPane1);
                scrollPane1.setBounds(0, 0, 640, 375);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel3.getComponentCount(); i++) {
                        Rectangle bounds = panel3.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel3.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel3.setMinimumSize(preferredSize);
                    panel3.setPreferredSize(preferredSize);
                }
            }
            tabbedPane1.addTab("\u6d4f\u89c8\u8bb0\u5f55", panel3);

            //======== panel4 ========
            {
                panel4.setLayout(null);

                //---- label6 ----
                label6.setText("\u8f93\u5165\u4fee\u6539\u5b66\u53f7\uff1a");
                label6.setForeground(Color.red);
                panel4.add(label6);
                label6.setBounds(10, 10, 95, 25);

                //---- textField6 ----
                textField6.setText("007");
                panel4.add(textField6);
                textField6.setBounds(110, 10, 145, textField6.getPreferredSize().height);
                panel4.add(separator1);
                separator1.setBounds(0, 50, 645, 3);

                //---- label7 ----
                label7.setText("\u5b66\u53f7\uff1a");
                panel4.add(label7);
                label7.setBounds(25, 60, 60, 30);

                //---- label8 ----
                label8.setText("\u6570\u5b66\u6210\u7ee9\uff1a");
                panel4.add(label8);
                label8.setBounds(25, 115, 65, 30);

                //---- label9 ----
                label9.setText("\u82f1\u8bed\u6210\u7ee9\uff1a");
                panel4.add(label9);
                label9.setBounds(25, 165, 65, 30);

                //---- textField7 ----
                textField7.setText("007");
                panel4.add(textField7);
                textField7.setBounds(90, 60, 155, 30);

                //---- textField8 ----
                textField8.setText("0.0");
                panel4.add(textField8);
                textField8.setBounds(90, 110, 155, 30);

                //---- label10 ----
                label10.setText("\u59d3\u540d\uff1a");
                panel4.add(label10);
                label10.setBounds(285, 60, 45, 30);

                //---- label11 ----
                label11.setText("\u7269\u7406\u6210\u7ee9\uff1a");
                panel4.add(label11);
                label11.setBounds(285, 110, 70, 30);

                //---- textField9 ----
                textField9.setText("5.67");
                panel4.add(textField9);
                textField9.setBounds(90, 160, 155, 30);

                //---- textField10 ----
                textField10.setText("\u738b\u4e3a");
                panel4.add(textField10);
                textField10.setBounds(355, 60, 155, 30);

                //---- textField11 ----
                textField11.setText("55,78");
                panel4.add(textField11);
                textField11.setBounds(355, 105, 155, 30);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel4.getComponentCount(); i++) {
                        Rectangle bounds = panel4.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel4.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel4.setMinimumSize(preferredSize);
                    panel4.setPreferredSize(preferredSize);
                }
            }
            tabbedPane1.addTab("\u4fee\u6539\u8bb0\u5f55", panel4);

            //======== panel5 ========
            {
                panel5.setLayout(null);

                //---- label12 ----
                label12.setText("\u5b66\u53f7\uff1a");
                panel5.add(label12);
                label12.setBounds(20, 10, 50, 30);

                //---- label13 ----
                label13.setText("\u6570\u5b66\u6210\u7ee9\uff1a");
                panel5.add(label13);
                label13.setBounds(20, 60, 70, 30);

                //---- label14 ----
                label14.setText("\u82f1\u8bed\u6210\u7ee9\uff1a");
                panel5.add(label14);
                label14.setBounds(20, 110, 70, 30);

                //---- textField12 ----
                textField12.setText("008");
                panel5.add(textField12);
                textField12.setBounds(95, 10, 155, 30);

                //---- textField13 ----
                textField13.setText("5.6");
                panel5.add(textField13);
                textField13.setBounds(95, 60, 155, 30);

                //---- textField14 ----
                textField14.setText("9.0");
                panel5.add(textField14);
                textField14.setBounds(95, 110, 155, 30);

                //---- label15 ----
                label15.setText("\u59d3\u540d\uff1a");
                panel5.add(label15);
                label15.setBounds(315, 10, 45, 30);

                //---- label16 ----
                label16.setText("\u7269\u7406\u6210\u7ee9\uff1a");
                panel5.add(label16);
                label16.setBounds(315, 60, 65, 30);

                //---- textField15 ----
                textField15.setText("\u738b\u4e94");
                panel5.add(textField15);
                textField15.setBounds(385, 10, 155, 30);

                //---- textField16 ----
                textField16.setText("7.8");
                panel5.add(textField16);
                textField16.setBounds(385, 60, 155, 30);

                //---- button2 ----
                button2.setText("\u5220\u9664");
                panel5.add(button2);
                button2.setBounds(410, 115, 90, 35);

                {
                    // compute preferred size
                    Dimension preferredSize = new Dimension();
                    for(int i = 0; i < panel5.getComponentCount(); i++) {
                        Rectangle bounds = panel5.getComponent(i).getBounds();
                        preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                        preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
                    }
                    Insets insets = panel5.getInsets();
                    preferredSize.width += insets.right;
                    preferredSize.height += insets.bottom;
                    panel5.setMinimumSize(preferredSize);
                    panel5.setPreferredSize(preferredSize);
                }
            }
            tabbedPane1.addTab("\u5220\u9664\u8bb0\u5f55", panel5);
        }
        contentPane.add(tabbedPane1);
        tabbedPane1.setBounds(0, 0, 645, 410);

        {
            // compute preferred size
            Dimension preferredSize = new Dimension();
            for(int i = 0; i < contentPane.getComponentCount(); i++) {
                Rectangle bounds = contentPane.getComponent(i).getBounds();
                preferredSize.width = Math.max(bounds.x + bounds.width, preferredSize.width);
                preferredSize.height = Math.max(bounds.y + bounds.height, preferredSize.height);
            }
            Insets insets = contentPane.getInsets();
            preferredSize.width += insets.right;
            preferredSize.height += insets.bottom;
            contentPane.setMinimumSize(preferredSize);
            contentPane.setPreferredSize(preferredSize);
        }
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents  @formatter:on
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables  @formatter:off
    // Generated using JFormDesigner Open Source Project license - 淘宝星河飘雪
    private JPanel panel1;
    private JTabbedPane tabbedPane1;
    private JPanel panel2;
    private JLabel label1;
    private JTextField textField1;
    private JLabel label2;
    private JTextField textField2;
    private JLabel label3;
    private JTextField textField3;
    private JTextField textField4;
    private JLabel label4;
    private JLabel label5;
    private JTextField textField5;
    private JButton button1;
    private JPanel panel3;
    private JScrollPane scrollPane1;
    private JTable table1;
    private JPanel panel4;
    private JLabel label6;
    private JTextField textField6;
    private JSeparator separator1;
    private JLabel label7;
    private JLabel label8;
    private JLabel label9;
    private JTextField textField7;
    private JTextField textField8;
    private JLabel label10;
    private JLabel label11;
    private JTextField textField9;
    private JTextField textField10;
    private JTextField textField11;
    private JPanel panel5;
    private JLabel label12;
    private JLabel label13;
    private JLabel label14;
    private JTextField textField12;
    private JTextField textField13;
    private JTextField textField14;
    private JLabel label15;
    private JLabel label16;
    private JTextField textField15;
    private JTextField textField16;
    private JButton button2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables  @formatter:on
}
